﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Services;
using Common;

namespace ShopWeb.Controllers
{
    public class AdvertisingController : Controller
    {
        #region 公用属性
        AdvertisingService advertisingService = new AdvertisingService();

        #endregion

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult GetModule(string names)
        {
            ViewData["Contents"] = advertisingService.GetModule(names).Contents;
            return View();
        }

    }
}
